<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <?php echo $this->Html->charset(); ?>
        <title>
            File Collection
            <?php echo $title_for_layout; ?>
        </title>
        <?php
        echo $this->Html->meta('icon');

        echo $this->Html->css('generic');
        echo $this->Html->css('cake.generic');
        echo $this->Html->css('stuffrepos');
        echo $this->Html->css('layout-default');
        echo $this->Html->css('content');

        echo $this->fetch('meta');
        //echo $this->fetch('css');
        echo $this->fetch('script');
        echo $this->ScaffoldUtil->links();
        ?>
    </head>
    <body>
        <div id="menu">
            <?php
            echo $this->Menu->dropdown(array(
                'Home' => '/',
                'Source' => array(
                    'Raw Files' => '/raw_files',
                    'Source Documents' => '/source_documents',
                ),
                'Sharing' => array(
                    'Tags' => '/tags',
                    'Raw Files Tags' => '/raw_file_tags',
                    'Source Document Tags' => '/source_document_tags',
                ),
                'Administer' => array(
                    'Configuration' => '/configuration_keys/configuration_keys',
                    "Update custom data models' cache" => '/admin/update_custom_data_models_cache',
                    "Update static tags" => '/admin/update_static_tags',
                ),
            ));
            ?>
        </div>
        <div id="header">            
            <h1><?php echo $this->Html->link('File Collection','/'); ?></h1>
            <h2><?php echo Inflector::humanize($this->params['controller']); ?></h2>
            <?php echo $this->ActionList->outputModuleMenu(); ?>
            </div>
        </div>

        <div id="content">
            <?php echo $this->Session->flash(); ?>
            <?php echo $this->fetch('content'); ?>
        </div>
        <div id="footer">
            <?php
            echo $this->Html->link(
                $this->Html->image('cake.power.gif', array('alt' => __d('cake_dev', 'CakePHP: the rapid development php framework'), 'border' => '0')), 'http://www.cakephp.org/', array('target' => '_blank', 'escape' => false)
            );
            ?>
        </div>
        <?php echo $this->element('sql_dump'); ?>
    </body>
</html>
